package day5.zy2;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;

public class Test {
    public static void main(String[] args) throws Exception {
        BufferedReader  bf = new BufferedReader(new FileReader(new File("E:\\QQ\\data.txt")));
        String s = null;
        int max=0;
        while((s=bf.readLine())!=null){
            Integer in =new Integer(s);
            if (in>max){
                max=in;
            }
        }
        System.out.println(max);
    }
}
